home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Event;
- import java.io.DataInputStream;
-
- public class bob14 extends bob {
- public int color;
-
- // $FF: renamed from: he (java.awt.Event) void
- public void method_0(Event var1) {
- switch (var1.id) {
- case 1:
- this.color = ((bob14)var1.arg).color;
- ((bob)this).ce(this, 2);
- break;
- case 2:
- ((bob)this).ce(this, 1);
- break;
- case 3:
- case 4:
- case 5:
- int var2 = (5 - var1.id) * 8;
- this.color &= 16777215 - (255 << var2);
- this.color += (int)Math.min((double)255.0F, Math.max(((bob10)var1.arg).value, (double)0.0F)) << var2;
- ((bob)this).ce((bob)var1.arg, var1.id);
- }
-
- }
-
- // $FF: renamed from: rd (java.io.DataInputStream) void
- public void method_1(DataInputStream var1) {
- try {
- this.color = var1.readInt();
- } catch (Exception var3) {
- }
-
- }
- }
-